package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 答题库
 *
 * @author Yancy
 * @since 2024-04-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("answer_record")
@ApiModel(value = "AnswerRecord对象", description = "答题库")
public class AnswerRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会话ID")
    @TableField("session_id")
    private Long sessionId;

    @ApiModelProperty("问题内容")
    @TableField("question_content")
    private String questionContent;

    @ApiModelProperty("回答内容")
    @TableField("answer_content")
    private String answerContent;

    @ApiModelProperty("AI总花费时间")
    @TableField("total_cost_time")
    private Long totalCostTime;

    @ApiModelProperty("语音合成花费时间")
    @TableField("tts_cost_time")
    private Long ttsCostTime;

    @ApiModelProperty("语音听写花费时间")
    @TableField("iat_cost_time")
    private Long iatCostTime;

    @ApiModelProperty("语义理解花费时间")
    @TableField("nlp_cost_time")
    private Long nlpCostTime;

    @ApiModelProperty("算法供应商")
    @TableField("supplier")
    private String supplier;


    public static final String SESSION_ID = "session_id";

    public static final String QUESTION = "question";

    public static final String ANSWER = "answer";

    public static final String TTS_TIME = "tts_time";

    public static final String IAT_TIME = "iat_time";

    public static final String NLP_TIME = "nlp_time";

    public static final String SUPPLIER = "supplier";

}
